#ifndef MONEYMOVE_H
#define MONEYMOVE_H

#include <QWidget>
#include <QSqlQueryModel>
#include <QTableView>
#include <QLabel>

#include "../interfaces.h"


class MoneyMove : public FormInterface
{
    Q_OBJECT
public:
    explicit MoneyMove(const QString& params, QWidget *parent = 0);

    bool isBusy(){return false;}
    bool isSystem(){return false;}
signals:
    
public slots:

    void summCommited(const QString &text);
    void updateTotals();

private:
    QString params;
    QSqlQueryModel *model;
    QTableView *view;

    QLabel *totals;
};

#endif // MONEYMOVE_H
